<div class="content">
    <?php
    $this->widget('zii.widgets.grid.CGridView', array(
        'id' => 'news-category-grid',
        'dataProvider' => $model->search(),
        //'filter' => $model,
        'cssFile' => false,
        //'cssFile'=>Yii::app()->request->baseUrl.'/css/table.css',
        'summaryText' => false,
        'itemsCssClass' => 'LTable',
        'columns' => array(
            'id',
            'name',
            array(
                'header' => '操作',
                'class' => 'CButtonColumn',
                'template' => '{update}{delete}'
            ),
        ),
    ));
    ?>
</div>
<div class="sidebar">
    <?php echo $this->renderPartial('_operations'); ?>
</div>
